<template>
  <div>
    <el-row>
      <el-col :span="18">
          <key-young-form 
        :MyForm="keyYoungForms"
        :showButton="true"
        :usePath='"update"'></key-young-form>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import keyYoungForm from "../../components/ZzOrgManage/keyYoungForm";
import * as api from "@/api/specialPopulation/index";

export default {
  components: {
    keyYoungForm: keyYoungForm
  },
  data() {
    return {
      keyYoungForms: {
        keyYoungersID: "", //             int not null auto_increment,
        certifID: "", //                  '身份证号. 编码应符合GB 11643',
        populationTypeValue: "", //       '人员类型，编码见GBT 31000-2015文件之5.41',
        familySituationTypeValue: "", //  '家庭情况，编码见GBT 31000-2015文件之5.42',
        guardianCertifID: "", //          '监护人身份证号. 编码应符合GB 11643',
        guardianName: "", //                varchar(50),
        relatedtoGuardianTypeValue: "", // '与监护人关系，编码见GB/T 4761',
        guardianContact: "", //            '监护人联系方式，手机号码或固定电话号码',
        guardianAddressDetail: "", //      '监护人居住地详细地址',
        isCrime: "", //                    '是否犯罪？0表示没有，1表示是',
        crimeInf: "", //                   '违法犯罪情况',
        helperName: "", //                 '帮扶人姓名',
        helperContact: "", //              '帮扶人联系方式，手机号码或固定电话号码',
        helpingSolutionTypeValue: "", //   '帮扶手段类型编码，见GBT 31000-2015文件之5.43',
        helpingInf: "" //                  '帮扶情况',
      }
    };
  },
  mounted(){
      let id = this.$route.query.id
      api.fetchSpecialPeronDetail(id,'06').then(res=>{
          this.keyYoungForms = res.data.special[0]
      })
  }
};
</script>

<style scoped>

</style>

